[INFO] fetching crate ax-codec-core 1.0.0...
[INFO] fixing ax-codec-core-1.0.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate ax-codec-core 1.0.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate ax-codec-core 1.0.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate ax-codec-core 1.0.0
[INFO] tweaked toml for crates.io crate ax-codec-core 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ax-codec-core 1.0.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ax-codec-core 1.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tikv-jemallocator v0.7.0
[INFO] [stderr]   Downloaded thousands v0.2.0
[INFO] [stderr]   Downloaded mintex v0.1.4
[INFO] [stderr]   Downloaded axhash-map v1.0.0
[INFO] [stderr]   Downloaded tikv-jemalloc-ctl v0.7.0
[INFO] [stderr]   Downloaded dhat v0.3.3
[INFO] [stderr]   Downloaded axhash-core v1.0.0
[INFO] [stderr]   Downloaded ax-rnd v0.1.3
[INFO] [stderr]   Downloaded tikv-jemalloc-sys v0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97
[INFO] running `Command { std: "docker" "start" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling alloca v0.4.0
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking criterion-plot v0.8.2
[INFO] [stderr]     Checking ax-rnd v0.1.3
[INFO] [stderr]     Checking ax-codec-core v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking zerocopy v0.8.48
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.8.2
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> examples/dhat_profile.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 6 - use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout] 6 + use ax_codec_core::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> examples/pooled_encode.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout] 3 + use ax_codec_core::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> tests/limit_tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ax_codec_derive::{Decode, Encode};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 - use ax_codec_derive::{Decode, Encode};
[INFO] [stdout] 4 + use ax_codec_core::{Decode, Encode};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `User` in the current scope
[INFO] [stdout]   --> examples/dhat_profile.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct User {
[INFO] [stdout]    | ----------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |         user.encode(&mut buf).unwrap();
[INFO] [stdout]    |              ^^^^^^ method not found in `User`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 32 |         user.age.encode(&mut buf).unwrap();
[INFO] [stdout]    |              ++++
[INFO] [stdout] 32 |         user.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: Decode` is not satisfied
[INFO] [stdout]   --> examples/dhat_profile.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let _: User = Decode::decode(&mut reader).unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `User`
[INFO] [stdout]   --> examples/dhat_profile.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct User {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> benches/comprehensive_bench.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ax_codec_derive::{Decode, Encode};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 - use ax_codec_derive::{Decode, Encode};
[INFO] [stdout] 5 + use ax_codec_core::{Decode, Encode};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> examples/pooled_encode.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct Packet {
[INFO] [stdout]    | ------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     packet.encode(&mut writer).unwrap();
[INFO] [stdout]    |            ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 18 |     packet.id.encode(&mut writer).unwrap();
[INFO] [stdout]    |            +++
[INFO] [stdout] 18 |     packet.payload.encode(&mut writer).unwrap();
[INFO] [stdout]    |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> tests/derive_tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ax_codec_derive::{Decode, Encode, View};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 - use ax_codec_derive::{Decode, Encode, View};
[INFO] [stdout] 3 + use ax_codec_core::{Decode, Encode, View};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> examples/dhat_profile.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Packet {
[INFO] [stdout]    | ------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |         packet.encode(&mut buf).unwrap();
[INFO] [stdout]    |                ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         packet.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |                +++
[INFO] [stdout] 49 |         packet.payload.encode(&mut buf).unwrap();
[INFO] [stdout]    |                ++++++++
[INFO] [stdout] 49 |         packet.user.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |                ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Decode` is not satisfied
[INFO] [stdout]   --> examples/dhat_profile.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _: Packet = Decode::decode(&mut reader).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `Packet`
[INFO] [stdout]   --> examples/dhat_profile.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Packet {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Decode` is not satisfied
[INFO] [stdout]   --> examples/pooled_encode.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let decoded: Packet = Decode::decode(&mut reader).unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `Packet`
[INFO] [stdout]   --> examples/pooled_encode.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct Packet {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (example "pooled_encode") due to 3 previous errors
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> examples/dhat_profile.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Packet {
[INFO] [stdout]    | ------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     packet.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 65 |     packet.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |            +++
[INFO] [stdout] 65 |     packet.payload.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ++++++++
[INFO] [stdout] 65 |     packet.user.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> examples/jemalloc_profile.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 9 - use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout] 9 + use ax_codec_core::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Decode` is not satisfied
[INFO] [stdout]   --> examples/dhat_profile.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _: Packet = Decode::decode(&mut reader).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `Packet`
[INFO] [stdout]   --> examples/dhat_profile.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Packet {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> examples/payload_sizes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive, View as ViewDerive};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 - use ax_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive, View as ViewDerive};
[INFO] [stdout] 2 + use ax_codec_core::{Decode as DecodeDerive, Encode as EncodeDerive, View as ViewDerive};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (example "dhat_profile") due to 7 previous errors
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `LogEntry` in the current scope
[INFO] [stdout]   --> benches/comprehensive_bench.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LogEntry {
[INFO] [stdout]    | --------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |             data.encode(&mut w).unwrap();
[INFO] [stdout]    |                  ^^^^^^ method not found in `LogEntry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 33 |             data.level.encode(&mut w).unwrap();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 33 |             data.message.encode(&mut w).unwrap();
[INFO] [stdout]    |                  ++++++++
[INFO] [stdout] 33 |             data.tags.encode(&mut w).unwrap();
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 33 |             data.timestamp.encode(&mut w).unwrap();
[INFO] [stdout]    |                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ax_codec_derive`
[INFO] [stdout]  --> benches/struct_bench.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ax_codec_derive::{Decode, Encode};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ax_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 - use ax_codec_derive::{Decode, Encode};
[INFO] [stdout] 5 + use ax_codec_core::{Decode, Encode};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for reference `&LogEntry` in the current scope
[INFO] [stdout]   --> benches/comprehensive_bench.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 black_box(d).encode(&mut w).unwrap();
[INFO] [stdout]    |                              ^^^^^^ method not found in `&LogEntry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 black_box(d).level.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++++++
[INFO] [stdout] 42 |                 black_box(d).message.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++++++++
[INFO] [stdout] 42 |                 black_box(d).tags.encode(&mut w).unwrap();
[INFO] [stdout]    |                              +++++
[INFO] [stdout] 42 |                 black_box(d).timestamp.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `LogEntry` in the current scope
[INFO] [stdout]   --> benches/comprehensive_bench.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LogEntry {
[INFO] [stdout]    | --------------- associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 50 |                 black_box(LogEntry::decode(&mut r).unwrap());
[INFO] [stdout]    |                                     ^^^^^^ associated function or constant not found in `LogEntry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for reference `&LogEntry` in the current scope
[INFO] [stdout]   --> benches/comprehensive_bench.rs:61:34
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     black_box(d).encode(&mut w).unwrap();
[INFO] [stdout]    |                                  ^^^^^^ method not found in `&LogEntry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     black_box(d).level.encode(&mut w).unwrap();
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 61 |                     black_box(d).message.encode(&mut w).unwrap();
[INFO] [stdout]    |                                  ++++++++
[INFO] [stdout] 61 |                     black_box(d).tags.encode(&mut w).unwrap();
[INFO] [stdout]    |                                  +++++
[INFO] [stdout] 61 |                     black_box(d).timestamp.encode(&mut w).unwrap();
[INFO] [stdout]    |                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `LogEntry` in the current scope
[INFO] [stdout]   --> benches/comprehensive_bench.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct LogEntry {
[INFO] [stdout]    | --------------- associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |                     black_box(LogEntry::decode(&mut r).unwrap());
[INFO] [stdout]    |                                         ^^^^^^ associated function or constant not found in `LogEntry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (bench "comprehensive_bench") due to 6 previous errors
[INFO] [stdout] error[E0599]: no method named `encode_to_vec` found for struct `Nested` in the current scope
[INFO] [stdout]   --> tests/limit_tests.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Nested {
[INFO] [stdout]    | ------------- method `encode_to_vec` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     let encoded = deep.encode_to_vec().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ method not found in `Nested`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode_to_vec`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let encoded = deep.value.encode_to_vec().unwrap();
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ax_codec` in this scope
[INFO] [stdout]   --> tests/derive_tests.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[ax_codec(skip)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ax_codec` in this scope
[INFO] [stdout]    --> tests/derive_tests.rs:143:7
[INFO] [stdout]     |
[INFO] [stdout] 143 |     #[ax_codec(default)]
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `Nested` in the current scope
[INFO] [stdout]   --> tests/limit_tests.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Nested {
[INFO] [stdout]    | ------------- associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     let res = Nested::decode(&mut r);
[INFO] [stdout]    |                       ^^^^^^ associated function or constant not found in `Nested`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:129:61
[INFO] [stdout]     |
[INFO] [stdout] 129 |     println!("{:<30}  {:>6}", "User { u64, u8 }", encode_ax(&user).len());
[INFO] [stdout]     |                                                   --------- ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `User`
[INFO] [stdout]    --> examples/payload_sizes.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout]   5 | struct User {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> examples/jemalloc_profile.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Packet {
[INFO] [stdout]    | ------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     packet.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 38 |     packet.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |            +++
[INFO] [stdout] 38 |     packet.payload.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ++++++++
[INFO] [stdout] 38 |     packet.user.id.encode(&mut buf).unwrap();
[INFO] [stdout]    |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 139 |         encode_ax(&packet_small).len()
[INFO] [stdout]     |         --------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Packet`
[INFO] [stdout]    --> examples/payload_sizes.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | struct Packet {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |         encode_ax(&packet_128).len()
[INFO] [stdout]     |         --------- ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Packet`
[INFO] [stdout]    --> examples/payload_sizes.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | struct Packet {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:161:19
[INFO] [stdout]     |
[INFO] [stdout] 161 |         encode_ax(&packet_1k).len()
[INFO] [stdout]     |         --------- ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Packet`
[INFO] [stdout]    --> examples/payload_sizes.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | struct Packet {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `LogEntry: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:170:53
[INFO] [stdout]     |
[INFO] [stdout] 170 |     println!("{:<30}  {:>6}", "LogEntry", encode_ax(&log).len());
[INFO] [stdout]     |                                           --------- ^^^^ unsatisfied trait bound
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `LogEntry`
[INFO] [stdout]    --> examples/payload_sizes.rs:24:1
[INFO] [stdout]     |
[INFO] [stdout]  24 | struct LogEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (test "limit_tests") due to 3 previous errors
[INFO] [stderr] error: could not compile `ax-codec-core` (example "payload_sizes") due to 11 previous errors
[INFO] [stdout] error[E0277]: the trait bound `Status: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |         encode_ax(&Status::Idle).len()
[INFO] [stdout]     |         --------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Status`
[INFO] [stdout]    --> examples/payload_sizes.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | enum Status {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Status: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         encode_ax(&Status::Running { pid: 1234 }).len()
[INFO] [stdout]     |         --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Status`
[INFO] [stdout]    --> examples/payload_sizes.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | enum Status {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (example "jemalloc_profile") due to 3 previous errors
[INFO] [stdout] error[E0277]: the trait bound `Status: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |           encode_ax(&Status::Error {
[INFO] [stdout]     |  _________---------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         required by a bound introduced by this call
[INFO] [stdout] 191 | |             code: 42,
[INFO] [stdout] 192 | |             msg: "timeout".to_string()
[INFO] [stdout] 193 | |         })
[INFO] [stdout]     | |_________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Status`
[INFO] [stdout]    --> examples/payload_sizes.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout]  32 | enum Status {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (bench "struct_bench") due to 7 previous errors
[INFO] [stdout] error[E0277]: the trait bound `Message<'_>: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:207:29
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let encoded = encode_ax(&msg);
[INFO] [stdout]     |                   --------- ^^^^ unsatisfied trait bound
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Message<'_>`
[INFO] [stdout]    --> examples/payload_sizes.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | struct Message<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Encode` is not satisfied
[INFO] [stdout]    --> examples/payload_sizes.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let total = encode_ax(&packet).len();
[INFO] [stdout]     |                     --------- ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Encode` is not implemented for `Packet`
[INFO] [stdout]    --> examples/payload_sizes.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | struct Packet {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Encode`:
[INFO] [stdout]               &[T]
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, str>
[INFO] [stdout]               Cow<'a, [u8]>
[INFO] [stdout]               Option<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]             and 13 others
[INFO] [stdout] note: required by a bound in `encode_ax`
[INFO] [stdout]    --> examples/payload_sizes.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 | fn encode_ax<T: Encode>(value: &T) -> Vec<u8> {
[INFO] [stdout]     |                 ^^^^^^ required by this bound in `encode_ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Point` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point {
[INFO] [stdout]    | ------------ method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         data.encode(&mut w).unwrap();
[INFO] [stdout]    |              ^^^^^^ method not found in `Point`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 26 |         data.x.encode(&mut w).unwrap();
[INFO] [stdout]    |              ++
[INFO] [stdout] 26 |         data.y.encode(&mut w).unwrap();
[INFO] [stdout]    |              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NamedStruct: Encode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       roundtrip_encode_decode(NamedStruct {
[INFO] [stdout]    |  _____-----------------------_^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     required by a bound introduced by this call
[INFO] [stdout] 55 | |         id: 42,
[INFO] [stdout] 56 | |         name: "hello".into(),
[INFO] [stdout] 57 | |         active: true,
[INFO] [stdout] 58 | |     });
[INFO] [stdout]    | |_____^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Encode` is not implemented for `NamedStruct`
[INFO] [stdout]   --> tests/derive_tests.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct NamedStruct {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Encode`:
[INFO] [stdout]              &[T]
[INFO] [stdout]              &str
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, str>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]            and 13 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                               ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NamedStruct: Decode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       roundtrip_encode_decode(NamedStruct {
[INFO] [stdout]    |  _____-----------------------_^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     required by a bound introduced by this call
[INFO] [stdout] 55 | |         id: 42,
[INFO] [stdout] 56 | |         name: "hello".into(),
[INFO] [stdout] 57 | |         active: true,
[INFO] [stdout] 58 | |     });
[INFO] [stdout]    | |_____^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `NamedStruct`
[INFO] [stdout]   --> tests/derive_tests.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct NamedStruct {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                                        ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Packet: Decode` is not satisfied
[INFO] [stdout]   --> examples/jemalloc_profile.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _: Packet = Decode::decode(&mut reader).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `Packet`
[INFO] [stdout]   --> examples/jemalloc_profile.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Packet {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `UnnamedStruct: Encode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:63:29
[INFO] [stdout]    |
[INFO] [stdout] 63 |     roundtrip_encode_decode(UnnamedStruct(0x1234, 0xDEADBEEF));
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Encode` is not implemented for `UnnamedStruct`
[INFO] [stdout]   --> tests/derive_tests.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct UnnamedStruct(u16, u32);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Encode`:
[INFO] [stdout]              &[T]
[INFO] [stdout]              &str
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, str>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]            and 13 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                               ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `UnnamedStruct: Decode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:63:29
[INFO] [stdout]    |
[INFO] [stdout] 63 |     roundtrip_encode_decode(UnnamedStruct(0x1234, 0xDEADBEEF));
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `UnnamedStruct`
[INFO] [stdout]   --> tests/derive_tests.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct UnnamedStruct(u16, u32);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                                        ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for reference `&Point` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |             black_box(&data).encode(&mut w).unwrap();
[INFO] [stdout]    |                              ^^^^^^ method not found in `&Point`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 34 |             black_box(&data).x.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++
[INFO] [stdout] 34 |             black_box(&data).y.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `Point` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point {
[INFO] [stdout]    | ------------ associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |             black_box(Point::decode(&mut r).unwrap());
[INFO] [stdout]    |                              ^^^^^^ associated function or constant not found in `Point`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `SimpleViewStruct` in the current scope
[INFO] [stdout]   --> tests/derive_tests.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct SimpleViewStruct {
[INFO] [stdout]    | ----------------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     val.encode(&mut w).unwrap();
[INFO] [stdout]    |         ^^^^^^ method not found in `SimpleViewStruct`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 73 |     val.active.encode(&mut w).unwrap();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 73 |     val.id.encode(&mut w).unwrap();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleViewStruct: View<'_>` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:75:37
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let decoded: SimpleViewStruct = View::view(&mut r).unwrap();
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `View<'_>` is not implemented for `SimpleViewStruct`
[INFO] [stdout]   --> tests/derive_tests.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct SimpleViewStruct {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `View<'a>`:
[INFO] [stdout]              &'a [T]
[INFO] [stdout]              &'a str
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]              f64
[INFO] [stdout]            and 10 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Encode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |     roundtrip_encode_decode(SimpleEnum::A);
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Encode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Encode`:
[INFO] [stdout]              &[T]
[INFO] [stdout]              &str
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, str>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]            and 13 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                               ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Decode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |     roundtrip_encode_decode(SimpleEnum::A);
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                                        ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Encode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |     roundtrip_encode_decode(SimpleEnum::B(42));
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Encode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Encode`:
[INFO] [stdout]              &[T]
[INFO] [stdout]              &str
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, str>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]            and 13 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                               ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Decode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |     roundtrip_encode_decode(SimpleEnum::B(42));
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                                        ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Encode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |     roundtrip_encode_decode(SimpleEnum::C { x: 1, y: 2 });
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Encode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Encode`:
[INFO] [stdout]              &[T]
[INFO] [stdout]              &str
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, str>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]            and 13 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                               ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SimpleEnum: Decode` is not satisfied
[INFO] [stdout]   --> tests/derive_tests.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |     roundtrip_encode_decode(SimpleEnum::C { x: 1, y: 2 });
[INFO] [stdout]    |     ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Decode` is not implemented for `SimpleEnum`
[INFO] [stdout]   --> tests/derive_tests.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum SimpleEnum {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Decode`:
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'a, [u8]>
[INFO] [stdout]              Cow<'a, str>
[INFO] [stdout]              Option<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]            and 11 others
[INFO] [stdout] note: required by a bound in `roundtrip_encode_decode`
[INFO] [stdout]   --> tests/derive_tests.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn roundtrip_encode_decode<T: Encode + Decode + PartialEq + std::fmt::Debug>(val: T) {
[INFO] [stdout]    |                                        ^^^^^^ required by this bound in `roundtrip_encode_decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Packet {
[INFO] [stdout]    | ------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |         data.encode(&mut w).unwrap();
[INFO] [stdout]    |              ^^^^^^ method not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 55 |         data.checksum.encode(&mut w).unwrap();
[INFO] [stdout]    |              +++++++++
[INFO] [stdout] 55 |         data.id.encode(&mut w).unwrap();
[INFO] [stdout]    |              +++
[INFO] [stdout] 55 |         data.payload.encode(&mut w).unwrap();
[INFO] [stdout]    |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `WithSkip` in the current scope
[INFO] [stdout]   --> tests/derive_tests.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct WithSkip {
[INFO] [stdout]    | --------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 94 |     val.encode(&mut w).unwrap();
[INFO] [stdout]    |         ^^^^^^ method not found in `WithSkip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 94 |     val.cached.encode(&mut w).unwrap();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 94 |     val.id.encode(&mut w).unwrap();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `WithSkip` in the current scope
[INFO] [stdout]   --> tests/derive_tests.rs:96:29
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct WithSkip {
[INFO] [stdout]    | --------------- associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     let decoded = WithSkip::decode(&mut r).unwrap();
[INFO] [stdout]    |                             ^^^^^^ associated function or constant not found in `WithSkip`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for reference `&Packet` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |             black_box(&data).encode(&mut w).unwrap();
[INFO] [stdout]    |                              ^^^^^^ method not found in `&Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 63 |             black_box(&data).checksum.encode(&mut w).unwrap();
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 63 |             black_box(&data).id.encode(&mut w).unwrap();
[INFO] [stdout]    |                              +++
[INFO] [stdout] 63 |             black_box(&data).payload.encode(&mut w).unwrap();
[INFO] [stdout]    |                              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `Packet` in the current scope
[INFO] [stdout]   --> benches/struct_bench.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Packet {
[INFO] [stdout]    | ------------- associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |             black_box(Packet::decode(&mut r).unwrap());
[INFO] [stdout]    |                               ^^^^^^ associated function or constant not found in `Packet`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `SimpleViewStruct` in the current scope
[INFO] [stdout]    --> tests/derive_tests.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout]  16 | struct SimpleViewStruct {
[INFO] [stdout]     | ----------------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 108 |     val.encode(&mut w).unwrap();
[INFO] [stdout]     |         ^^^^^^ method not found in `SimpleViewStruct`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 108 |     val.active.encode(&mut w).unwrap();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 108 |     val.id.encode(&mut w).unwrap();
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the associated function or constant `validate` exists for struct `SimpleViewStruct`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/derive_tests.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout]  16 | struct SimpleViewStruct {
[INFO] [stdout]     | ----------------------- associated function or constant `validate` not found for this struct because it doesn't satisfy `SimpleViewStruct: Validate<'_>` or `SimpleViewStruct: View<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 110 |     SimpleViewStruct::validate(&mut r).unwrap();
[INFO] [stdout]     |                       ^^^^^^^^ associated function or constant cannot be called on `SimpleViewStruct` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `SimpleViewStruct: Validate<'_>`
[INFO] [stdout]             `&SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `&SimpleViewStruct: Validate<'_>`
[INFO] [stdout]             `&mut SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `&mut SimpleViewStruct: Validate<'_>`
[INFO] [stdout] note: the trait `View` must be implemented
[INFO] [stdout]    --> src/lib.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub trait View<'a>: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `validate`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Validate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `SimpleViewStruct` in the current scope
[INFO] [stdout]    --> tests/derive_tests.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout]  16 | struct SimpleViewStruct {
[INFO] [stdout]     | ----------------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 120 |     val.encode(&mut w).unwrap();
[INFO] [stdout]     |         ^^^^^^ method not found in `SimpleViewStruct`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 120 |     val.active.encode(&mut w).unwrap();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 120 |     val.id.encode(&mut w).unwrap();
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the associated function or constant `validate` exists for struct `SimpleViewStruct`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/derive_tests.rs:122:31
[INFO] [stdout]     |
[INFO] [stdout]  16 | struct SimpleViewStruct {
[INFO] [stdout]     | ----------------------- associated function or constant `validate` not found for this struct because it doesn't satisfy `SimpleViewStruct: Validate<'_>` or `SimpleViewStruct: View<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 122 |     assert!(SimpleViewStruct::validate(&mut r).is_err());
[INFO] [stdout]     |                               ^^^^^^^^ associated function or constant cannot be called on `SimpleViewStruct` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `SimpleViewStruct: Validate<'_>`
[INFO] [stdout]             `&SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `&SimpleViewStruct: Validate<'_>`
[INFO] [stdout]             `&mut SimpleViewStruct: View<'_>`
[INFO] [stdout]             which is required by `&mut SimpleViewStruct: Validate<'_>`
[INFO] [stdout] note: the trait `View` must be implemented
[INFO] [stdout]    --> src/lib.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub trait View<'a>: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `validate`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Validate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for enum `SimpleEnum` in the current scope
[INFO] [stdout]    --> tests/derive_tests.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout]  22 | enum SimpleEnum {
[INFO] [stdout]     | --------------- method `encode` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 128 |     SimpleEnum::B(42).encode(&mut w).unwrap();
[INFO] [stdout]     |                       ^^^^^^ method not found in `SimpleEnum`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `encode` exists on the type `u32`
[INFO] [stdout]    --> src/lib.rs:27:5
[INFO] [stdout]     |
[INFO] [stdout]  27 |     fn encode<W: BufferWriter>(&self, writer: &mut W) -> Result<(), EncodeError>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant, associated function, or constant `validate` exists for enum `SimpleEnum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/derive_tests.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout]  22 | enum SimpleEnum {
[INFO] [stdout]     | --------------- variant, associated function, or constant `validate` not found for this enum because it doesn't satisfy `SimpleEnum: Validate<'_>` or `SimpleEnum: View<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 130 |     SimpleEnum::validate(&mut r).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^ variant, associated function, or constant cannot be called on `SimpleEnum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `SimpleEnum: Validate<'_>`
[INFO] [stdout]             `&SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `&SimpleEnum: Validate<'_>`
[INFO] [stdout]             `&mut SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `&mut SimpleEnum: Validate<'_>`
[INFO] [stdout] note: the trait `View` must be implemented
[INFO] [stdout]    --> src/lib.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub trait View<'a>: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `validate`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Validate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant, associated function, or constant `validate` exists for enum `SimpleEnum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/derive_tests.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout]  22 | enum SimpleEnum {
[INFO] [stdout]     | --------------- variant, associated function, or constant `validate` not found for this enum because it doesn't satisfy `SimpleEnum: Validate<'_>` or `SimpleEnum: View<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 137 |     assert!(SimpleEnum::validate(&mut r).is_err());
[INFO] [stdout]     |                         ^^^^^^^^ variant, associated function, or constant cannot be called on `SimpleEnum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `SimpleEnum: Validate<'_>`
[INFO] [stdout]             `&SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `&SimpleEnum: Validate<'_>`
[INFO] [stdout]             `&mut SimpleEnum: View<'_>`
[INFO] [stdout]             which is required by `&mut SimpleEnum: Validate<'_>`
[INFO] [stdout] note: the trait `View` must be implemented
[INFO] [stdout]    --> src/lib.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub trait View<'a>: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `validate`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Validate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decode` found for struct `WithDefault` in the current scope
[INFO] [stdout]    --> tests/derive_tests.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 141 | struct WithDefault {
[INFO] [stdout]     | ------------------ associated function or constant `decode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 |     let decoded = WithDefault::decode(&mut r).unwrap();
[INFO] [stdout]     |                                ^^^^^^ associated function or constant not found in `WithDefault`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ax-codec-core` (test "derive_tests") due to 25 previous errors
[INFO] running `Command { std: "docker" "inspect" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97", kill_on_drop: false }`
[INFO] [stdout] 734ab2cba0973474500f5891122ca0704cbc323f90e8a0dbcf1f4ff54262ab97
